from rest_framework_jwt.views import obtain_jwt_token,verify_jwt_token
from django.urls import path, re_path
from . import views
urlpatterns = [
    path(r'login/', obtain_jwt_token),
    path(r'vefry/', verify_jwt_token),
    re_path(r'check_phone/', views.CheckPhoneNumber.as_view()),  # wenti
    path(r'register/', views.RegisterView.as_view()),
    re_path(r'sms_code/(?P<phone>^1[3-9][0-9]{9}$)', views.GetSMSCodeView.as_view()),

]